package net.csdn.business.common.domain.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author wanghang
 * @version 1.0
 * @date 2022/11/14 16:38
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MilepostStatVo implements Serializable {

    /**
     * 开启中的里程碑数量
     */
    private Integer statusOnTotal=0;

    /**
     * 已关闭的里程碑数量
     */
    private Integer statusOffTotal=0;

    /**
     * 全部
     */
    private Integer total=0;

    @Data
    public static class GoalStat {
        private Integer status;
        private Integer total;
    }

}
